{% extends "base_blank.volt" %}

{% block pageHeader %}

<style>
    *{ box-sizing: content-box;}
</style>

{% endblock %}

{% block pageFooter%}

{{ javascript_include("/libs/laydate/laydate.js", false) }}
{{ javascript_include("/assets/manage/js/activity/setState.js", false) }}
{% endblock %}

{% block content %}

<div class="" id="content_box_blank">
    <div class="row">
        <div class="">
            <form id="form_update" class="form-horizontal" durl="{{action}}" role="form" method="post" action="" target="ifr_send_file" enctype="multipart/form-data">
                <input type="hidden" name="callback" value="parent.setFormResult" >
                <input type="hidden" name="id" value="{{id}}">
                <input type="hidden" name="state" value="{{state}}">
                <div class="input-daterange" style="padding: 0 35px;">
                    <div class="form-group">
                        <label class="col-xs-3 control-label" style="text-align: right;padding-top: 5px;">开始时间：</label>
                        <div class="col-xs-7">
                            <input id="activity_start_time" type="text" class="form-control input-sm laydate-icon" name="activity_start_time" data-rule="required;" value="">
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-xs-3 control-label" style="text-align: right;padding-top: 5px;">结束时间：</label>
                        <div class="col-xs-7">
                            <input id="activity_end_time" type="text" class="form-control input-sm laydate-icon" name="activity_end_time" data-rule="required;match[neq, activity_start_time]" data-tip="结束时间不能等于开始时间" data-msg-match="结束时间不能等于开始时间" value="" aria-required="true">
                        </div>
                    </div>
                </div>


                <div class="form-group">
                    <div class="col-xs-offset-3 col-xs-7">
                        <button type="submit" class="btn btn-primary"><i class="fa fa-floppy-o fa-lg"></i> 保 存</button>
                    </div>
                </div>
            </form>


        </div>
    </div>
</div>
{% endblock %}